<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>{$business['title']}{$settings['article_share_title']}</title>
<link href="{MODULE_URL}images/mui.min.css" rel="stylesheet" type="text/css" />
<link href="{MODULE_URL}images/css/public.css" rel="stylesheet" type="text/css" />

<link href="{MODULE_URL}images/frozenui/css/frozen.css" rel="stylesheet" type="text/css">
<link href="{MODULE_URL}images/css/baoliao.css" rel="stylesheet" type="text/css">

<link href="{MODULE_URL}images/weui.css" rel="stylesheet" type="text/css" />
<link href="{MODULE_URL}images/weui2.css" rel="stylesheet" type="text/css" />

<script src="{MODULE_URL}images/js/jquery-1.8.3.min.js"></script>
<script src="{MODULE_URL}images/zepto.min.js"></script>
<script src="{MODULE_URL}images/mui.min.js"></script>
<style type="text/css" media="screen">
.bar-qr {
  color: #fff;
  height: 70px;
  opacity: 0.8;
}
.black header.mui-bar {
  background: #313f46 none repeat scroll 0 0;
}
.mui-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar-qr {
  color: #fff;
}
.bar-qr img {
  height: 55px;
  left: 10px;
  margin: 8px 5px 0 0;
  position: absolute;
  width: 55px;
}
.bar-qr .bar-title {
  font-size: 1rem;
  padding: 10px 60px 10px 65px;
}
.bar-qr .bar-title {
  font-size: 1rem;
  padding: 10px 60px 10px 65px;
}
.bar-qr .bar-title span {
  display: block;
  font-size: 0.7rem;
  margin: 2px 0 0;
}
.bar-qr .bar-title span:first-child {
  font-size: 0.9rem;
}
.bar-qr .bar-btn {
  background: #2e404c none repeat scroll 0 0;
  border: 1px solid #5d9df6;
  border-radius: 5px;
  color: #fff;
  display: block;
  font-size: 0.75rem;
  height: 35px;
  line-height: 35px;
  padding: 0 10px;
  position: absolute;
  right: 10px;
  text-align: center;
  top: 18px;
}
</style>
<script>
$(window).load(function() {
  $("#status").fadeOut();
  $("#preloader").delay(350).fadeOut("slow");
})
</script>
<script type="text/javascript">
$(document).ready(function(){
  $(".shaixuan").click(function(event){
    event.stopPropagation(); 
    $(".shaixuan_box").show();
    $(".shaixuan_box").animate({right:'100%'});
    $("html,body").css("overflow","hidden");
  });
  $(document).click(function(event){
    $(".shaixuan_box").animate({right:'-100%'});
    $(".shaixuan_box").hide(5);
    $("html,body").css("overflow","");
  });    
});
</script>
{php echo register_jssdk($debug);} 
</head>
<style>
  .weui_dialog, .weui_toast{top:10%;}
</style>
<body>
<!-- 点击关注 -->
<!-- <header style="top:0;background: #313f46 none repeat scroll 0 0" class="mui-bar bar-qr">
<img src="{$_W['account']['avatar']}">
<div class="bar-title">
<span class="mui-ellipsis">{$business['title']}{$settings['share_title']}</span>
<span class="mui-ellipsis">{$settings['share_desc']}</span>
</div>
<a class="bar-btn" _click="href" target="_blank" href="{$settings['share_url']}"> 点击关注</a>


</header> -->
<!-- <div class="mobile" style="padding-top: 75px"> -->
  <!--页面加载 开始-->
  <div id="preloader">
    <div id="status">
      <p class="center-text"><span>拼命加载中···</span></p>
    </div>
  </div>
  <!--页面加载 结束--> 
  <!--header 开始-->
  
  {php $pic = iunserializer($business['logo'])}
  
  <!--header 结束-->
 
  <div class="view w">
    <div class="bl_view_img"><img src="{php echo tomedia($pic['0'])}" /></div>
    <div class="bl_view_title">网点名称：{$business['title']} </div>
    <div class="bl_view_note">拨打电话：<a href="tel:{$business['phone']}">{$business['phone']}</a></div>
    
    <div class="bl_view_tag">
      <div class="bl_view_user">分类：{$categories[$business['categoryid']]['name']}</div>
        <div class="bl_view_time">人气：{$business['click']}次浏览</div>
    </div>
    <div class="bl_view_tag">
      <div class="bl_view_user">地址：{$business['address']}</div>
        <!-- <div class="bl_view_time">时间：{php echo date('Y-m-d H:i:s',$business['time'])}</div> -->
    </div>
    <div class="go_buy"><a  href="http://apis.map.qq.com/tools/poimarker?type=0&marker=coord:{$business['lng']},{$business['lat']};title:{$business['title']};addr:{$business['address']}&key=OB4BZ-D4W3U-B7VVO-4PJWW-6TKDJ-WPB77&referer=myapp">一键导航</a></div>
  </div>

  <div class="bl_view_content w">
    <h1>网点介绍<span></span></h1>
    <div class="bl_view_word">
    {$business['zy']}
     {$business['desc']}
    </div>
  </div>
  <div class="bl_view_content w">
    <h1>网点图片<span></span></h1>
    <div class="bl_view_word">
    {loop $pic $pic}
      <img src="{php echo tomedia($pic)}" alt="" data-preview-src="" data-preview-group="1" width="100%">
    {/loop}
    </div>
  </div>
  
  
  <div class="bl_comment w" {if !$settings['massage']}style="padding-bottom: 55px"{/if}>
   <h1>推荐网点</h1>
     <div class="comment_list">
      <ul class="ui-list ui-border-tb">  
          {loop $hot $hot}  
     {php $pic = iunserializer($hot['logo'])}
            <li>
           
                <div class="ui-list-thumb ui-avatar-s">
                   <span><img src="{php echo tomedia($pic['0'])}" /></span>                </div>
                <div class="ui-list-info ui-border-t">
                 <a href="{php echo $this->createMobileUrl('content', array('id'=>$hot['id']));}" style="color:#000">
                    <h4>{$hot['title']}</h4>
                    <p>所在分类：{$categories[$hot['categoryid']]['name']}</p>
                    <p style="color:#FF6600">{php echo $this->friendlyDate($business['time'])}</p>
                 </a>
                </div>
             
            </li>
{/loop}
           
        </ul>
     </div>
  </div>
{if $settings['massage']}
  <a href="#pl"><div class="pl_icon"></div></a>
  <a name="pl" id="pl" ></a>
  <div class="bl_pinlun w" name="pl">
     <form  id="form" action="" method="post" class="form-inline" enctype="multipart/form-data">
    <input name="business[content]" type="text" placeholder="我来说一句" class="pinlun_input" style="padding-left: 35px">
    <input name="submit" type="submit" class="pinlun_submit" value="发表评论">
    <input type="hidden" name="token" value="{$_W['token']}" />
    </form>
  </div>
  <!--<div class="no_login w">您需要登录才能发表牛评哦！<a href="#">马上登录</a><a href="#">免费注册</a></div>-->
  
  <div class="bl_comment w">
    <h1>TA们的牛评</h1>
    <div class="comment_list">
      <ul>
           {loop $messagelist $list}
          <li>
              <div class="pl_user_img"><img src="{$list['avatar']}" /></div>
              <div class="pl_user_top">
                  <div class="pl_user_name">{$list['nickname']}</div>
                  <div class="pl_user_time">{php echo $this->friendlyDate($list['time'])}</div>
              </div>
              <div class="pl_user_comment">{$list['content']}</div>
            </li>
{/loop}
            
        </ul>
    </div>
  </div>
{/if} 
<div style="display:none;"  class="share " onclick="$(this).fadeOut();$(this).removeClass('ani-fade hand')">

<div class="sharebox share-tip" style="width:100%;right: 0px;border:0;top: 0">

  

<img  src="http://0.0c1d.com/static/v1/img/share_weixin.png" alt="" width="100%"> 
<div class="share-form">
您可以先在下方修改标题后再分享 <br>
<div class="mui-content-padded"></div>
</div>
<div class="mui-input-row">
<input type="text" class="mui-input-clear" placeholder="页面标题" id="pagetitle" style="color:#000" />
</div>
<input type="button" class="mui-btn mui-btn-blue" value="确认修改" id="pagetitle-btn">
<Br><span id="pagetitle-tip" class="red"></span>
</div>


</div> 
<script>
$(function () {
  $('#pagetitle').val(document.title);
  $('#pagetitle').on('click', function () {
    $(".share").removeAttr("onclick");  
  });
  $('#pagetitle-btn').on('click', function () {
    document.title = $('#pagetitle').val();
    $('#pagetitle-tip').text('设置标题成功，快开始分享吧！');
  });
return false;
});

</script>
 <style type="text/css">
.weui_dialog_bd{text-align: left}
 </style>
 <div class="copyright"  style="padding-bottom: 55px">唐和CMS技术支持</div>

 <!-- 本站技术由 <a href="javascript:;" id="sd2" style="color:red;font-size: 1rem;font-weight: bold">{$_W['uniaccount']['name']}</a> 提供</div> -->
   <script type="text/javascript">
            $(document).on("click", "#sd2", function() {
        $.alert("入驻电话：{$settings['phone']}<Br><Br>全国加盟、代理热线：<hr style=\'margin:10px 0\'>刘总：<a href=tel:15589663370>15589663370<\/a><br>个人微信：<a href=#>pudongqu<\/a><Br><Br>我们将毫无保留地提供全套技术以及运营方案为您建立强大的{$_W['uniaccount']['name']}", "入驻联系"); 
      });

        </script>
  <div class="weui_tab tab-bottom" style="height:55px;">
            
            <div class="weui_tabbar ">
                <a href="{php echo $this->createMobileUrl('index');}" class="weui_tabbar_item {if $_GPC['do'] == 'index'}weui_bar_item_on{/if}">
                    <div class="weui_tabbar_icon">
                       <img src="{MODULE_URL}images/home.png" alt="">
                    </div>
                    <p class="weui_tabbar_label">首页</p>
                </a>
                <a <a href="tel:{$business['phone']}" class="weui_tabbar_item {if $_GPC['do'] == 'category'}weui_bar_item_on{/if}">
                    <div class="weui_tabbar_icon">
                        <img src="{MODULE_URL}images/phone.png" alt="">
                    </div>
                    <p class="weui_tabbar_label">拨打电话</p>
                </a>
                <!-- <a href="javascript:;" class="weui_tabbar_item {if $_GPC['do'] == 'paihang'}weui_bar_item_on{/if}" id="sd1">
                    <div class="weui_tabbar_icon">
                        <img src="{MODULE_URL}images/phb.png" alt="">
                    </div>
                    <p class="weui_tabbar_label">老板微信</p>
                </a>
                <a href="{php echo $this->createMobileUrl('Mybusiness', array('op'=>'edit'));}" class="weui_tabbar_item {if $_GPC['do'] == 'index'}weui_bar_item_on{/if}">
                    <div class="weui_tabbar_icon">
                       <img src="{MODULE_URL}images/rmq.png" alt="">
                    </div>
                    <p class="weui_tabbar_label">商家入驻</p>
                </a> -->
                <a onclick="$('.share').show().addClass('ani-fade hand');"  href="javascript:void(0)" class="weui_tabbar_item {if $_GPC['do'] == 'user'}weui_bar_item_on{/if}">
                    <div class="weui_tabbar_icon">
                        <img src="{MODULE_URL}images/hy.png" alt="">
                    </div>
                    <p class="weui_tabbar_label">帮他分享</p>
                </a>                           
            </div>
        </div>
</div>


{template 'common/footer'}
